//文件main.js中
import { createApp } from 'vue'
import router from './router'
import App from './App.vue'
import store from './store'
import element from 'element-plus'
import cookie from 'js-cookie'
import axios from './plugins/axios.js'

//这里的createApp后面是可以接受链式调用的
const app = createApp(App).use(cookie).use(store).use(router).use(element).use(axios)
app.config.globalProperties.customProperty = () => {}
app.use(router)
app.mount('#app')
